Optimal. Leaf size=662 \[ -\frac{\tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right ) \left (96 c^3 e^2 \left (-a^2 e^2 g (2 e f-d g)-2 a b e (e f-d g)^2+b^2 d (e f-d g)^2\right )+16 b c^2 e^3 \left (3 a^2 e^2 g^2+3 a b e g (2 e f-d g)+b^2 (e f-d g)^2\right )-6 b^3 c e^4 g (4 a e g-b d g+2 b e f)-384 c^4 d e (b d-a e) (e f-d g)^2+3 b^5 e^5 g^2+256 c^5 d^3 (e f-d g)^2\right )}{256 c^{7/2} e^6}-\frac{\left (a+b x+c x^2\right )^{3/2} \left (3 b^2 e^2 g^2-6 c e g x (-b e g-2 c d g+4 c e f)-6 b c e g (2 e f-d g)-16 c^2 (e f-d g)^2\right )}{48 c^2 e^3}+\frac{\sqrt{a+b x+c x^2} \left (2 c e x \left (g \left (-4 c e (2 b d-3 a e)-3 b^2 e^2+16 c^2 d^2\right ) (-b e g-2 c d g+4 c e f)-8 c e (2 c d-b e) \left (2 c e f^2-b d g^2\right )\right )-6 b^2 c e^3 g (2 a e g-b d g+2 b e f)-32 c^3 e (5 b d-4 a e) (e f-d g)^2+8 b c^2 e^2 \left (3 a e g (2 e f-d g)+2 b (e f-d g)^2\right )+3 b^4 e^4 g^2+128 c^4 d^2 (e f-d g)^2\right )}{128 c^3 e^5}+\frac{(e f-d g)^2 \left (a e^2-b d e+c d^2\right )^{3/2} \tanh ^{-1}\left (\frac{-2 a e+x (2 c d-b e)+b d}{2 \sqrt{a+b x+c x^2} \sqrt{a e^2-b d e+c d^2}}\right )}{e^6}+\frac{g^2 \left (a+b x+c x^2\right )^{5/2}}{5 c e} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 3.46123, antiderivative size = 662, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 6, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.207 \[ -\frac{\tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right ) \left (96 c^3 e^2 \left (-a^2 e^2 g (2 e f-d g)-2 a b e (e f-d g)^2+b^2 d (e f-d g)^2\right )+16 b c^2 e^3 \left (3 a^2 e^2 g^2+3 a b e g (2 e f-d g)+b^2 (e f-d g)^2\right )-6 b^3 c e^4 g (4 a e g-b d g+2 b e f)-384 c^4 d e (b d-a e) (e f-d g)^2+3 b^5 e^5 g^2+256 c^5 d^3 (e f-d g)^2\right )}{256 c^{7/2} e^6}-\frac{\left (a+b x+c x^2\right )^{3/2} \left (3 b^2 e^2 g^2-6 c e g x (-b e g-2 c d g+4 c e f)-6 b c e g (2 e f-d g)-16 c^2 (e f-d g)^2\right )}{48 c^2 e^3}+\frac{\sqrt{a+b x+c x^2} \left (2 c e x \left (g \left (-4 c e (2 b d-3 a e)-3 b^2 e^2+16 c^2 d^2\right ) (-b e g-2 c d g+4 c e f)-8 c e (2 c d-b e) \left (2 c e f^2-b d g^2\right )\right )-6 b^2 c e^3 g (2 a e g-b d g+2 b e f)-32 c^3 e (5 b d-4 a e) (e f-d g)^2+8 b c^2 e^2 \left (3 a e g (2 e f-d g)+2 b (e f-d g)^2\right )+3 b^4 e^4 g^2+128 c^4 d^2 (e f-d g)^2\right )}{128 c^3 e^5}+\frac{(e f-d g)^2 \left (a e^2-b d e+c d^2\right )^{3/2} \tanh ^{-1}\left (\frac{-2 a e+x (2 c d-b e)+b d}{2 \sqrt{a+b x+c x^2} \sqrt{a e^2-b d e+c d^2}}\right )}{e^6}+\frac{g^2 \left (a+b x+c x^2\right )^{5/2}}{5 c e} \]
Antiderivative was successfully verified.
[In] Int[((f + g*x)^2*(a + b*x + c*x^2)^(3/2))/(d + e*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((g*x+f)**2*(c*x**2+b*x+a)**(3/2)/(e*x+d),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 3.61516, size = 740, normalized size = 1.12 \[ \frac{\frac{2 e \sqrt{a+x (b+c x)} \left (12 c^2 e^2 \left (32 a^2 e^2 g^2+2 a b e g (-25 d g+50 e f+7 e g x)+b^2 \left (20 d^2 g^2-5 d e g (8 f+g x)+2 e^2 \left (10 f^2+5 f g x+g^2 x^2\right )\right )\right )-30 b^2 c e^3 g (10 a e g+b (-3 d g+6 e f+e g x))+16 c^3 e \left (a e \left (160 d^2 g^2-5 d e g (64 f+15 g x)+2 e^2 \left (80 f^2+75 f g x+24 g^2 x^2\right )\right )+b \left (-150 d^3 g^2+10 d^2 e g (30 f+7 g x)-5 d e^2 \left (30 f^2+28 f g x+9 g^2 x^2\right )+e^3 x \left (70 f^2+90 f g x+33 g^2 x^2\right )\right )\right )+45 b^4 e^4 g^2+32 c^4 \left (60 d^4 g^2-30 d^3 e g (4 f+g x)+20 d^2 e^2 \left (3 f^2+3 f g x+g^2 x^2\right )-5 d e^3 x \left (6 f^2+8 f g x+3 g^2 x^2\right )+2 e^4 x^2 \left (10 f^2+15 f g x+6 g^2 x^2\right )\right )\right )}{c^3}-\frac{15 \log \left (2 \sqrt{c} \sqrt{a+x (b+c x)}+b+2 c x\right ) \left (96 c^3 e^2 \left (a^2 e^2 g (d g-2 e f)-2 a b e (e f-d g)^2+b^2 d (e f-d g)^2\right )+16 b c^2 e^3 \left (3 a^2 e^2 g^2+3 a b e g (2 e f-d g)+b^2 (e f-d g)^2\right )-6 b^3 c e^4 g (4 a e g-b d g+2 b e f)-384 c^4 d e (b d-a e) (e f-d g)^2+3 b^5 e^5 g^2+256 c^5 d^3 (e f-d g)^2\right )}{c^{7/2}}+3840 (e f-d g)^2 \log (d+e x) \left (e (a e-b d)+c d^2\right )^{3/2}-3840 (e f-d g)^2 \left (e (a e-b d)+c d^2\right )^{3/2} \log \left (2 \sqrt{a+x (b+c x)} \sqrt{e (a e-b d)+c d^2}+2 a e-b d+b e x-2 c d x\right )}{3840 e^6} \]
Antiderivative was successfully verified.
[In] Integrate[((f + g*x)^2*(a + b*x + c*x^2)^(3/2))/(d + e*x),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.026, size = 6860, normalized size = 10.4 \[ \text{output too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((g*x+f)^2*(c*x^2+b*x+a)^(3/2)/(e*x+d),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(3/2)*(g*x + f)^2/(e*x + d),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(3/2)*(g*x + f)^2/(e*x + d),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((g*x+f)**2*(c*x**2+b*x+a)**(3/2)/(e*x+d),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(3/2)*(g*x + f)^2/(e*x + d),x, algorithm="giac")
[Out]